﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="header.ascx.cs" Inherits="AMG.Web.header" %>
<div class="head">
	<div class="topimg">
    	<span style=" float:left"><img src="/images/web_logo.jpg" alt="" width="167" /></span>
        <span style=" float:right; vertical-align:middle" ><img src="/images/benz_logo.jpg" alt=""/></span>
    </div>
	
	<div class="menu">
    	<span style="padding-top:4px">登入为:<%# companyname%></span>
        <ul>
        	<li><img src="/images/icon01.gif" alt="" /><%if (companyname == "管理员")
                                                     { %><a href="/admin/main.aspx"><%}
                                                     else
                                                     { %><a href="/main.aspx"><% }%>客户资料</a></li>
            <%if (companyname == "管理员")
                                                     { %><%}
                                                     else
                                                     { %><li><img src="images/icon02.gif" alt="" /><a href="#">预约</a></li><% }%>
            <li><img src="/images/icon03.gif" alt="" /><a href="/option.aspx">设置</a></li>
            <li><img src="/images/icon04.gif" alt="" /><a href="/logout.aspx">登出</a></li>
        </ul>
    </div>
</div>